package com.jy.api.dao;

import com.jy.api.domain.Partition;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by Administrator on 2019/2/18.
 */
public interface PartitionDao extends CrudRepository<Partition,Integer> {

    List<Partition> findAllByStoreIdAndEnabledOrderBySortDesc(String storeId,boolean enabled);




}
